<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Ogre_glTF: Ogre_glTF::vertexBufferPart Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Ogre_glTF
   </div>
   <div id="projectbrief">glTF import library for Ogre</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('struct_ogre__gl_t_f_1_1vertex_buffer_part.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="struct_ogre__gl_t_f_1_1vertex_buffer_part-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Ogre_glTF::vertexBufferPart Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_ogre__gl_t_f__model_converter_8hpp_source.html">Ogre_glTF_modelConverter.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a98ef963b3dfb316b2f833f913aaa2fd3"><td class="memItemLeft" align="right" valign="top"><a id="a98ef963b3dfb316b2f833f913aaa2fd3"></a>
size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_ogre__gl_t_f_1_1vertex_buffer_part.html#a98ef963b3dfb316b2f833f913aaa2fd3">getPartStride</a> () const</td></tr>
<tr class="memdesc:a98ef963b3dfb316b2f833f913aaa2fd3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the number of bytes for the data stride. <br /></td></tr>
<tr class="separator:a98ef963b3dfb316b2f833f913aaa2fd3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a981d73ff6baa760bdc1d62fe1699204e"><td class="memItemLeft" align="right" valign="top"><a id="a981d73ff6baa760bdc1d62fe1699204e"></a>
std::unique_ptr&lt; <a class="el" href="class_ogre__gl_t_f_1_1geometry_buffer__base.html">geometryBuffer_base</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_ogre__gl_t_f_1_1vertex_buffer_part.html#a981d73ff6baa760bdc1d62fe1699204e">buffer</a></td></tr>
<tr class="memdesc:a981d73ff6baa760bdc1d62fe1699204e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Buffer that contain vertices. <br /></td></tr>
<tr class="separator:a981d73ff6baa760bdc1d62fe1699204e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f373736926886a45941ca38e8d7930c"><td class="memItemLeft" align="right" valign="top"><a id="a1f373736926886a45941ca38e8d7930c"></a>
Ogre::VertexElementType&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_ogre__gl_t_f_1_1vertex_buffer_part.html#a1f373736926886a45941ca38e8d7930c">type</a></td></tr>
<tr class="memdesc:a1f373736926886a45941ca38e8d7930c"><td class="mdescLeft">&#160;</td><td class="mdescRight">The type of vertex data (2 floats, 3 floats...) <br /></td></tr>
<tr class="separator:a1f373736926886a45941ca38e8d7930c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2dc9b040e759fa3523a2abd19c4f9aed"><td class="memItemLeft" align="right" valign="top"><a id="a2dc9b040e759fa3523a2abd19c4f9aed"></a>
Ogre::VertexElementSemantic&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_ogre__gl_t_f_1_1vertex_buffer_part.html#a2dc9b040e759fa3523a2abd19c4f9aed">semantic</a></td></tr>
<tr class="memdesc:a2dc9b040e759fa3523a2abd19c4f9aed"><td class="mdescLeft">&#160;</td><td class="mdescRight">The semantic of the vertex data in this part of the buffer (normal, position, texture coordinates...) <br /></td></tr>
<tr class="separator:a2dc9b040e759fa3523a2abd19c4f9aed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a281c887ec55e59d05b6f9ed003495947"><td class="memItemLeft" align="right" valign="top"><a id="a281c887ec55e59d05b6f9ed003495947"></a>
size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_ogre__gl_t_f_1_1vertex_buffer_part.html#a281c887ec55e59d05b6f9ed003495947">vertexCount</a></td></tr>
<tr class="memdesc:a281c887ec55e59d05b6f9ed003495947"><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of vertices on this buffer. <br /></td></tr>
<tr class="separator:a281c887ec55e59d05b6f9ed003495947"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a35944dc7e5c6373ca77971f51108c039"><td class="memItemLeft" align="right" valign="top"><a id="a35944dc7e5c6373ca77971f51108c039"></a>
size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_ogre__gl_t_f_1_1vertex_buffer_part.html#a35944dc7e5c6373ca77971f51108c039">perVertex</a></td></tr>
<tr class="memdesc:a35944dc7e5c6373ca77971f51108c039"><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of "basic elements" that constitute a vertex (2x for a 2D vector, 3x for a 3D vector...) <br /></td></tr>
<tr class="separator:a35944dc7e5c6373ca77971f51108c039"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Part of the vertex buffer, containing a geometry buffer and the information about the type and number of vertex elements; We cache these informations because we need to reorder the data into one single interleaved buffer for Ogre loading vertices into a single Vao </p>

<p class="definition">Definition at line <a class="el" href="_ogre__gl_t_f__model_converter_8hpp_source.html#l00120">120</a> of file <a class="el" href="_ogre__gl_t_f__model_converter_8hpp_source.html">Ogre_glTF_modelConverter.hpp</a>.</p>
</div><hr/>The documentation for this struct was generated from the following files:<ul>
<li>C:/YbalridSoftware/AnnwvynSDK64/Ogre_glTF/src/private_headers/<a class="el" href="_ogre__gl_t_f__model_converter_8hpp_source.html">Ogre_glTF_modelConverter.hpp</a></li>
<li>C:/YbalridSoftware/AnnwvynSDK64/Ogre_glTF/src/<a class="el" href="_ogre__gl_t_f__model_converter_8cpp_source.html">Ogre_glTF_modelConverter.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>Ogre_glTF</b></li><li class="navelem"><a class="el" href="struct_ogre__gl_t_f_1_1vertex_buffer_part.html">vertexBufferPart</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li>
  </ul>
</div>
</body>
</html>
